import { ApiProperty } from "@nestjs/swagger"
// import { IsNotEmpty } from "class-validator"

export class SendEmailCodeDto {
  @ApiProperty({ description: '', required: true, default: '' })
  readonly email: string
}

export class VerifyEmailCodeDto {
  @ApiProperty({ description: '', required: true, default: '' })
  readonly email: string

  @ApiProperty({ description: '', required: true, default: '' })
  readonly code: string
}

export class SendPhoneCodeDto {
  @ApiProperty({ description: '', required: true, default: '' })
  readonly phone: string
}

export class VerifyPhoneCodeDto {
  @ApiProperty({ description: '', required: true, default: '' })
  readonly phone: string

  @ApiProperty({ description: '', required: true, default: '' })
  readonly code: string
}